package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap56 extends OSMap
	{
		public function OSMap56()
		{
			super();

			var ground:OSGround = new OSGround(520, 580, 20, 20, 0, false);
			ground.setNoErosionDown([0]);
			ground.erode();
			addBackground(ground);

			ground = new OSGround(0, 620, 340, 20, 0, false);
			ground.setNoErosionDown([10, 11, 12, 13, 14, 15, 16]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([16]);
			ground.erode();
			add(ground);

			ground = new OSGround(120, 940, 220, 140, 0, false);
			ground.setNoErosionDown([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76]);
			ground.setNoErosionRight([10, 21, 32, 43, 54, 65, 76]);
			ground.erode();
			add(ground);

			ground = new OSGround(200, 640, 140, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6]);
			ground.setNoErosionDown([2, 3, 4, 5, 6]);
			ground.setNoErosionRight([6]);
			ground.erode();
			add(ground);

			ground = new OSGround(240, 660, 100, 20, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4]);
			ground.setNoErosionRight([4]);
			ground.erode();
			add(ground);

			ground = new OSGround(340, 600, 280, 480, 0, false);
			ground.setNoErosionUp([9, 10]);
			ground.setNoErosionDown([238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335]);
			ground.setNoErosionLeft([14, 28, 42, 238, 322]);
			ground.setNoErosionRight([335]);
			ground.erode();
			add(ground);

			ground = new OSGround(520, 580, 40, 20, 0, false);
			ground.setNoErosionDown([0, 1]);
			ground.erode();
			add(ground);

			add(new OSSmoke(540, 580, 100, 200));

			ground = new OSGround(630, 950, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(620, 1060, 240, 20, 0, false);
			ground.setNoErosionUp([1, 9]);
			ground.setNoErosionDown([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([11]);
			ground.erode();
			add(ground);

			ground = new OSGround(640, 960, 20, 100, 0, false);
			ground.setNoErosionDown([4]);
			ground.erode();
			add(ground);

			ground = new OSGround(800, 960, 20, 100, 0, false);
			ground.setNoErosionDown([4]);
			ground.erode();
			add(ground);

			ground = new OSGround(860, 740, 100, 340, 0, false);
			ground.setNoErosionDown([50, 51, 52, 53, 54, 80, 81, 82, 83, 84]);
			ground.setNoErosionLeft([80]);
			ground.setNoErosionRight([4, 9, 14, 19, 24, 29, 34, 39, 44, 49, 54, 64, 69, 74, 79, 84]);
			ground.erode();
			add(ground);

		}
	}
}
